<?php
/**
 * Created by PhpStorm.
 * User: xpz
 * Date: 2023/7/6
 * Time: 8:06
 */

namespace app\common\model;
use think\Model;

class ArticleSpider extends Model
{
    protected $name = 'article_spider';


    public function getImageAttr($value, $data){
        if(!empty($data['image'])){
            return getMDomain().$data['image'];
        }
        return '';
    }
}